#message_show {
  .km-content {
    overflow-y: hidden !important;
    #msg {
      padding: 15px 10px 50px;
      background: #f6f3f3;
      font-size: 14px;
      position: absolute;
      width: 100%;
      overflow-y: auto;
      height: 100%;
      .chat_time{
        height:45px;
        line-height:45px;
        font-size:12px;
        color: #f4f4f4;
        text-align: center;
        clear: both;
        .text{
          background: #c8c8c8;
          padding: 2px 7px;
          border-radius: 4px;
        }
      }
      .chat_item {
        position: relative;
        width: 100%;
        margin-bottom: 0.75rem;
        overflow: hidden;
        display: block;
        .chat_media {
          display: inline-block;
          max-width: 3rem;
          img {
            width: 100%;
          }
        }
        .chat_inner {
          position: relative;
          overflow: hidden;
          display: inherit;
          .chat_name {
            width: 100%;
            position: relative;
            font-size: 1rem;
            color: #757575;
            margin-bottom: 0.5rem;
          }
          .chat_content {
            color: #212121;
            font-size: 0.8rem;
            border-radius: 0.2rem;
            min-height: 2.5rem;
            position: relative;
            padding: 0.7rem;
            max-width: 80%;
            word-break: break-all;
            word-wrap: break-word;
            .chat_arrow {
              content: '';
              position: absolute;
              width: 0.8rem;
              height: 0.8rem;
              top: 50%;
              margin-top: -0.5rem;;
              -webkit-transform-origin: 50% 50% 0;
              transform-origin: 50% 50% 0;
              background-color: transparent;
            }
          }

          .chat_status {
            position: relative;
            width: 2.7rem;
            height: 2.7rem;
            line-height: 2.7rem;
            text-align: center;
            font-size: 12px;
            color: #7a7a7a;
            i {
              position: relative;
              font-family: "aui_iconfont" !important;
              font-size: 0.7rem;
              font-style: normal;
              -webkit-font-smoothing: antialiased;
              -moz-osx-font-smoothing: grayscale;
            }
          }
        }
      }
      .chat_left {
        float: left;
        .chat_media {
          width: 2.5rem;
          float: left;
        }
        .chat_inner {
          min-width: 70%;
          min-height: 2.5rem;
          .chat_name {
            left: 0.8rem;
          }
          .chat_content {
            background-color: #b3e5fc;
            float: left;
            left: 0.8rem;
            .chat_arrow {
              background-image: -webkit-linear-gradient(45deg, #b3e5fc, #b3e5fc 50%, transparent 50%);
              background-image: linear-gradient(45deg, #b3e5fc, #b3e5fc 50%, transparent 50%);
              -webkit-transform: rotate(45deg);
              transform: rotate(45deg);
              left: -0.35rem;
            }
          }
          .chat_content.audio{
            width:75px;
          }
          .chat_content.audio:after{
            content: '';
            background: url(../../img/message/show/audio_icon_left.png) no-repeat center;
            float: left;
            background-size: 20px 20px;
            display: block;
            width: 20px;
            height: 20px;
          }
          .chat_content.audio.play:after{
            content: '';
            background: url(../../img/message/show/audio_play_left.gif) no-repeat center;
            float: left;
            background-size: 20px 20px;
            display: block;
            width: 20px;
            height: 20px;
          }
          .chat_status {
            float: left;
            left: 0.9rem;;
            font-size: 12px;
            color: #7a7a7a;
          }
        }
      }
      .chat_right {
        float: right;
        .chat_media {
          width: 2.5rem;
          float: right;
        }
        .chat_inner {
          float: right;
          min-width: 70%;
          min-height: 2.5rem;
          .chat_name {
            float: right;
            right: 0.5rem;
            text-align: right;
          }
          .chat_content {
            background-color: #ffffff;
            right: 0.8rem;
            float: right;
            .chat_arrow {
              background-image: -webkit-linear-gradient(45deg, #ffffff, #ffffff 50%, transparent 50%);
              background-image: linear-gradient(45deg, #ffffff, #ffffff 50%, transparent 50%);
              -webkit-transform: rotate(-135deg);
              transform: rotate(-135deg);
              right: -0.35rem;
            }
          }

          .chat_content.audio{
            width:75px;
          }
          .chat_content.audio:after{
            content: '';
            background: url(../../img/message/show/audio_icon_right.png) no-repeat center;
            float: right;
            background-size: 20px 20px;
            display: block;
            width: 20px;
            height: 20px;
          }
          .chat_content.audio.play:after{
            content: '';
            background: url(../../img/message/show/audio_play_right.gif) no-repeat center;
            float: right;
            background-size: 20px 20px;
            display: block;
            width: 20px;
            height: 20px;
          }
          .chat_status {
            float: right;
            right: 0.9rem;;
            font-size: 12px;
            color: #7a7a7a;
          }
        }
      }
    }
    #sound-alert {
      display: none;
      position: fixed;
      left: 50%;
      top: 50%;
      width: 140px;
      height: 140px;
      margin-left: -70px;
      margin-top: -70px;
      background-image: url("");
      background-repeat: no-repeat;
      background-position: center center;
      background-size: 30px 30px;
      background-color: rgba(0, 0, 0, 0.7);
      border-radius: 5px;
      -webkit-transition: .15s;
      .rschedule {
        background-color: rgba(0, 0, 0, 0);
        border: 5px solid rgba(0, 183, 229, 0.9);
        opacity: .9;
        border-left: 5px solid rgba(0, 0, 0, 0);
        border-right: 5px solid rgba(0, 0, 0, 0);
        border-radius: 50px;
        box-shadow: 0 0 15px #2187e7;
        width: 46px;
        height: 46px;
        position: absolute;
        left: 50%;
        top: 50%;
        margin-left: -23px;
        margin-top: -23px;
        -webkit-animation: spin 1s infinite linear;
        animation: spin 1s infinite linear;
      }
      .r-sigh {
        display: none;
        border-radius: 50px;
        box-shadow: 0 0 15px #2187e7;
        width: 46px;
        height: 46px;
        position: absolute;
        left: 50%;
        top: 50%;
        margin-left: -23px;
        margin-top: -23px;
        text-align: center;
        line-height: 46px;
        font-size: 40px;
        font-weight: bold;
        color: #2187e7;
      }

      .rsalert {
        font-size: 12px;
        color: #bbb;
        text-align: center;
        position: absolute;
        border-radius: 5px;
        width: 130px;
        margin: 5px 5px;
        padding: 5px;
        left: 0px;
        bottom: 0px;
      }
      &.rprogress-sigh {
        background-image: none !important;
        .rschedule {
          display: none !important;
        }
        .r-sigh {
          display: block !important;
        }
      }
    }

    .footer {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      //height:50px;
      background: #fff;
      .navbar {
        height: 50px;
        width: 100%;
        padding: 5px 5px 5px 0;
        font-size: 14px;
        margin-bottom: 0;
        .tab_model_item {
          .citem {
            height: 100%;
            width: 100%;
            position: relative;
          }
          .citem.hide {
            display: none;
          }
          .edit_model {
            span.audio_btn {
              width: 40px;
              height: 40px;
              background: #fff url(../../img/message/show/speek.png) no-repeat center;
              background-size: 25px;
              display: inline-block;
            }
            input.text_input {
              padding: 5px 10px;
              height: 30px;
              line-height: 30px;
              margin-top: 5px;
            }

          }
          .audio_model {
            .edit_btn {
              width: 40px;
              height: 40px;
              background: #fff url(../../img/message/show/keyboard.png) no-repeat center;
              background-size: 25px;
              display: inline-block;
            }
            .send_audio_btn {
              padding: 5px 10px;
              height: 30px;
              margin-top: 5px;
              text-align: center;
            }
            .send_audio_btn:active{
              background-color: #bababf;
            }
          }
        }
        .rest_fun {
          width: 70px;
          height: 100%;
          color: transparent;
          span.emoji {
            background: #fff url(../../img/message/show/face.png) no-repeat center;
            background-size: 25px;
            display: inline-block;
            width: 30px;
            height: 40px;
            float: left;
            margin: 0 3px;
          }
          span.add_model {
            background: #fff url(../../img/message/show/add.png) no-repeat center;
            background-size: 25px;
            display: inline-block;
            width: 30px;
            height: 40px;
          }
        }

        .send {
          width: 70px;
          height: 100%;
          text-align: center;
          line-height: 40px;
          #send_msg_btn {
            width: 100%;
            height: 30px;
            width: 50px;
            text-align: center;
            line-height: 30px;
            border-radius: 4px;
            display: inline-block;
            background: #5dab7e;
            color: #fff;
            cursor: pointer;
          }
          #send_msg_btn:active {
            transition: .2s;
            background: #ababab;
          }
        }
      }
    }

  }
  @-webkit-keyframes spin {
    0% {
      -webkit-transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
    }
  }
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
}